home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
wordproc
/
wf_v31c.arj
/
DOCS
/
WF.010
< prev
next >
Wrap
Text File
|
1992-01-31
|
35KB
|
831 lines
.f3 - # - Chapter 10 - Miscellaneous
.rm70
.tc
.tc1
.tc 10. MISCELLANEOUS STUFF ...............................#
CHAPTER 10 MISCELLANEOUS STUFF
.imMargins
This chapter contains information that does not easily fit any where
else.
.Tc Performing a Word Count ............................#
Performing a Word Count
.ixPerforming;Performing a Word Count (^JV)
.ixWord Count;Word Count - Performing (^JV)
.ixCounting;Counting Words or Characters
Word Fugue comes with a word counting option. Press Ctrl J V, and a
pop up window will appear with information similar to the following:
╔═══ WordFugue Version 1.6a ════╗
║ Current File: ║
║ C:\WF\DOC\WF.010 ║
║ Modified ║
║ 161 Lines ║
║ 5146 Bytes ║
║ 735 Words ║
║ 3 Pages ║
║ ║
║ Jul 10, 1989 10:11 AM ║
║ 319103 RAM bytes free ║
║ DOS Version: 3.30 ║
║ 2854912 Disk bytes free ║
║ Current Directory: ║
║ C:\WF\DOCS ║
╚═══════════════════════════════╝
Fig 10.1 - Word Count display
.tc1 Fig 10.1 - Word Count display .........................#
Press ESC to return to editing the file. The information is relevant
to the current file, so if you have more than one window open, you
will need to place the cursor in each window and enter the command.
Calculating the file size and word count can take a long time on a big
file, so you can press the space bar while the Get Info window is
being updated to short circuit the calculation of some items.
.tc Partial word count ..............................#
Partial Word Count
If the cursor is placed within a marked block, only the words within
that block will be counted, otherwise the entire file will be counted.
.Tc Convert a Wordstar file ............................#
Convert a Wordstar file
.ixConvert a Wordstar;Convert a Wordstar file
You can either set an option when you load the file, or use the block
command to turn off Hi order bits in a marked block. They have
slightly different effects.
Options are on the Load file menu of the Options menu
This will zero the High order bits in a Wordstar file. You will of
course lose any wrapped information about lines, since they will all
end in a hard Carriage return. Any control codes will be left
untouched. If you wish to retain the line wrap information, you must
use the marked block approach given below.
.CP7
To Turn off bits in a marked block:
.ixStrip Hi bits;Strip Hi bits (Ctrl K^)
1. Mark the block of text with Ctrl K B and Ctrl K K.
2. Press the keys Ctrl K ^ (you need shift plus the 6 key for ^)
Word Fugue will turn off the hi bits in the marked block.
For example:
áíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╘╒╓╫╪┘┌█µτΦΘ
becomes
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRTUVWXYZ[fghi
Strip Hi Bits on File Load
This is on the Global file submenu of the Options menu of the pull
down menu. You can install it as a command sequence using WFINST, but
the default is no command sequence. When Hi-bit strip is ON, the most
significant bit of each character read from the disk will be set to
zero. This is useful when reading in files previously generated in
Wordstar document mode. Note that stripping the high bit will also
affect any usage of the IBM extended ASCII character set, such as the
line drawing characters.
.Tc Convert Tab Characters To Spaces on Reading ........#
Convert Tab Characters To Spaces on Reading
.ixConvert;Convert Tabs to Spaces
.imTabs
.ix Converting Tabs to Spaces
This is the Expand tabs option on the Load File submenu of the Load
file menu of the pull down menu. You can install a command sequence
for this command by using WFINST, but the default has no sequence
installed. When tab expansion is ON, any tabs encountered upon read-in
of a file are expanded into spaces, using a tab spacing that you
specify. If tab expansion is OFF, Word Fugue leaves the tabs intact.
In this case, Word Fugue does not expand tabs as it displays them, so
these will be displayed on the screen as I.
.tc Convert Spaces to Tabs When Writing The File .......#
Convert Spaces to Tabs When Writing The File
.ix convert Spaces to Tabs
This is the Write tabs option on the Load File submenu of the Load
file menu of the pull down menu. You can install a command sequence
for this command by using WFINST, but the default has no sequence
installed. By default, Word Fugue does not write tab characters in
files saved from the editor. If Tab Writing is activated, Word Fugue
will translate sequences of spaces to tabs in order to save disk space
for the output file. Tabs are computed using the fixed spacing
currently set for fixed tabs. Multiple spaces found within pairs of
single or double quotes (as used in Pascal or C source code) will not
be converted to tabs.
.tc Outline Processing .................................#
Outline Processing
Outline Processing is the ability to jot down your thoughts such as
subject headings, and later flesh them out into a complete document.
You have the ability to view only the headings, or the details, or
both. The details can include other details at lower levels again.
.CP5
With Word Fugue, this can be achieved by use of .FI and the Alt F
command. Jot down your headings in a file. When you are ready to flesh
them out, place a .FI command in column one on the line beneath each
heading, and type a file name after the .FI command. Use a different
file name on each .FI line.
Place the cursor on a line containing a .FI command, and press Alt F.
Word Fugue will open another window with the new file loaded ready for
editing. This file can in turn contain other .FI commands, which can
be loaded in a similar fashion. If you do not have Zoom Windows set,
you will see all files on the screen at the same time. You can nest
include files up to 5 deep, which should give you plenty of scope for
the biggest outlines.
.tc Ruler Lines ........................................#
Ruler Lines
.IMRuler Lines
.ixRR; .RR - Ruler line
A ruler line is used to determine the documents current left and right
margins, tab stops and column boundaries. The current ruler line is
displayed at the top of the document, unless you turn the display off.
The option to display the ruler line can be changed as part of the
Options menu on the Ruler sub menu, or it can be changed by entering
Ctrl O T, which will turn the display on and off.
.ix Display of
Word Fugue's default ruler is shown below. It is designed for type at
10 characters per inch on standard 8 inch stationery. The left margin
is in column 1, the right margin in column 70, and tab stops every 8
spaces beginning at column 9.
L-------!-------!-------!-------!-------!-------!-------!-------!----R
.ixJustification;Justification of Text (^O^J or .RR)
The ruler line can contain the following characters:
Character Meaning
L Left margin
R Right margin (ragged justification)
J Right margin (justified)
! Tab stop
< Left margin of a column ┌only effective if
> Right Margin of a column ┤word wrap and column
] Justified right column margin └mode are active
or right table margin ┌only effective if
{ Left margin of a table ┤word wrap and column
} Right margin of a table └mode are active
Temporary Indent or currently active wrap
margin. (Set by the computer)
W Wrap margin
- Space between ruler symbols
When you change left or right margin using Ctrl O L or Ctrl O R, the
ruler line changes to show a new margin. This ruler is in effect
throughout the document until you change it. If you use .LM and .RM
dot commands to change a margin, the new ruler is in effect in the
file below the dot command. Above the dot command the previous ruler
is in effect.
.CP5
If you set the wrap margin from the ruler line, it is in effect from
the ruler line down through the document until another ruler line
changes it. When that wrap column is active, it will show as a in
the ruler line. The ruler line wrap column may be overwritten by the
use of the Temporary Indent.
.imMargins
.ix Temporary Wrap margin (F4)
.ixRR; .RR - Ruler line
When you use F4 or Ctrl O G to set the Temporary Indentation, the
ruler line shows the temporary margin as long as it is in effect. A
temporary left margin is terminated if you move the cursor above the
line on which you set the temporary margin, or down past a blank line.
While the temporary margin is active, the old wrap column will show as
a W in the ruler line.
.ix Left Margin (.LM or .RR or ^OL)
Left Margin controls where text will be placed when you type.
Characters entered to the left of the left margin will be pushed
right until they are within the left margin.
.ixJustification;Justification of Text (^O^J or .RR)
.ix Right Margin (.RM or .RR or ^OR)
Right Margin and Justified Right Margin controls where text will be
wrapped. Text will not be allowed to extend beyond the right margin
after a wrap operation.
.ix Wrap Margin (.RR or F4)
Wrap Margin determines where text that overflows a line will be
continued on the next line. Wrap margins must be at least equal to
the left margin, and less than the right margin, to be effective.
Text typed inside the left margin, but to the left of the wrap
margin, will be left where it is, unless it is the second or
subsequent line of a paragraph, and a paragraph reformat operation
is performed.
.imRuler Lines
.ix Tab Stops
Tab Stops determine where the cursor will travel when you press the
Tab key (for forward movement) or the Shift Tab key (for backward
movement).
.ixMargins ; Releasing (^OX)
Release Margins. The margins set can be temporary released by use
of the Ctrl O X command. This command releases the margins for the
line the cursor is in, and no others. Word wrap will not happen,
and you can type in text up to the maximum line length.
As soon as the cursor leaves the line, the margins are restored,
and text wrapping occurs normally.
.CP6
.tc Columns And Tables ..............................#
Columns And Tables
Columns
.ix columns
Columns in a ruler are independent parts of the text that wrap.
Columns are indicated by < for the left margin and > for the right
margin or ] for the right justified margin. When Word Wrap is
active, text will wrap to stay within the margins (both left and
right). A column is independent of any other columns, so text in a
column will wrap downwards into blank lines in the column. If no
blank lines are available, a blank line will be inserted at the end
of the column to absorb the overflow. This blank line may interfere
with other columns by placing a blank line in the middle of another
column. To overcome this, define your columns as tables.
.CP10
eg:
www xxx yyy
www xxx yyy
www yyy
xxx yyy
www xxx yyy
www xxx
www yyy
yyy
You will note that each column has entries that end independently
of each other. Wrapping slides the text in one column up and down
without regard to the contents of other columns.
Tables
.ix Tables
.ixJustification;Justification of Text (^O^J or .RR)
.ixRR; .RR - Ruler line
Tables are columns of text that are related to each other. They are
delimited in the ruler line by { for the left margin and either }
or > for the right margin, or ] for the right justified margin. The
columns of a table are terminated by a blank line. When a column of
a table is wrapped, blank lines are inserted at the end of the
table entry. This means that a blank line is looked for, or a dot
command line, and blank lines are inserted before this line. This
means that adjacent columns never have blank lines inserted in the
middle.
eg
www xxx yyy
www xxx yyy
www yyy
yyy
yyy
───── this is the end of the entry
www xxx yyy
www xxx yyy
www xxx
You will note that a table has entries in adjacent columns, and the
end of the entry has a blank line across the entire table. Wrapping
slides the contents of one column up and down as required, but
never pushes the text down below the blank line, instead inserting
new lines before it as required to absorb the overflow of the
column.
.CP5
.tc Editing a Ruler .................................#
Editing a Ruler
.ix Editing
.ixRR; .RR - Ruler line
You can edit the ruler line by entering Ctrl O E. You do not need to
display the ruler line to be able to edit it. While in edit mode, you
move the cursor and type in the appropriate symbols where you want
them. Press Enter to accept the new line, or ESC to return to the
original.
However, if you use dot commands that effect the ruler line in your
document, as soon as you press return, if the cursor were positioned
below any of these dot commands in the document, they will
automatically affect the ruler you have edited. However, this can be
overcome by embedding the ruler line in the text where ever you need a
new ruler line, and editing the embedded line. (See below)
.tc Embedded Ruler Lines ............................#
Embedded Ruler Lines
.ix Embed in text
.ixEmbed;Embed Ruler Lines (^OO or .RR)
You can embed a ruler line in the text so that it is in effect on the
text below it and it is stored with the file. Every time the cursor
moves below an embedded ruler line, the document's margins and tab
stops automatically change to reflect the new line. An embedded ruler
is entered with .RR as the dot command. The ruler line follows the
.RR command.
There are several ways of embedding ruler lines in your document.
■ Type in the entire ruler line. Start by typing .RR in columns
1 to 3. Then, on the same line, type in the ruler itself,
starting with the left margin. Since the first 3 characters
are the dot command, all embedded ruler line character
positions are 3 characters to the right of the actual
position. Thus
.RRL.....!.......................R
where the L is entered in column 4, makes the left margin
effective in column 1, a tab stop effective in column 7, and
the right margin in column 31. The dots between the characters
are simply to show character spacings. Use spaces in the
embedded ruler line.
■ Use the command Ctrl O O to insert a copy of the current ruler
line into your text.
■ Use the ruler file WF.RLR to store often used ruler lines, and
use the macro commands Alt M S to embed the first such line
into the text, and the command Alt M R to display a list of
ruler lines, and select the one you want.
.tc Stored Rulers ...................................#
Stored Rulers
.ix Stored
.ix WF.RLR
.ixRR; .RR - Ruler line
You can store up to 36 ruler settings in the file WF.RLR.
Using a Stored Ruler
.ix Using a Stored Ruler
There are 2 macro commands provided to access rulers stored in the
ruler file. Because they are macro commands, you can always write
additional commands to load additional rulers from a different file if
you need to go beyond 36 rulers.
Embed Default Stored Ruler
.ix Embed Default Stored Ruler
The command Alt M S embeds the default stored ruler before the line
the cursor is in. The default ruler is always number 1 (unless you
change the macro).
.CP7
Embed Stored Ruler From Menu
.ix Embed Stored Ruler From Menu
The command Alt M R loads the file WF.RLR and displays a menu of
rulers. Select the one you want to embed, and press Enter to embed
it, or ESC if you change your mind. The alternative long format of
the command is Ctrl J I R which loads file WF.RLR and displays the
menu of stored rulers. When you select your ruler to embed, it is
embedded, and the macro file is reloaded.
Storing a Ruler
.ix Storing a Ruler
The ruler file has exactly the same structure as a macro file, and
rulers can be entered by loading it as a macro file, selecting to
record macros, and then typing in the ruler line exactly as you want
it, and then turning off macro recording. You will be asked which slot
to record the ruler in, and a name for it. (Refer to the chapter in
macros for more information) Don't forget to save the ruler file
(using the save macro command), and to re-load your original macro
file.
Editing a Stored Ruler
Once you have stored rulers in the file WF.RLR, you can edit them by
loading the file as the macro file, editing the entries (Alt E), and
saving the file. Don't forget to re-load your original macro file.
.tc Using A Mouse ......................................#
Using A Mouse
.imMouse
.ix Using a mouse
Word Fugue recognises a mouse, and will respond to its movement and
button clicks. Sensing is automatic - if the mouse driver is present
and returns a good status, then the mouse cursor is displayed as a
block of colour that changes depending on the colours underneath.
Scroll Bars
.ix Scroll Bars
If you have set the appropriate option - Mouse Scroll on the Display
Options sub menu of the Options menu, then Word Fugue will display a
scroll bar on the right hand side of the screen. This includes scroll
arrows and a solid block elevator that shows the relative position in
the file.
You can use the scroll bar to change the position on the file. Place
the mouse cursor on one of the arrows and press the left mouse button.
As you hold the button down the text will scroll as if you were moving
the cursor in the direction of the arrow. The text should scroll at
about the same rate as with the arrow keys. Scrolling will stop as
soon as you release the button.
If you place the mouse cursor on the scroll bar between the elevator
bar and the arrow, clicking the left button will cause the display to
page up or down, depending on where the mouse cursor is in relation to
the elevator block. If the mouse cursor is above the elevator block,
then the left button click will page up, while if the mouse cursor is
below the elevator block, a left button click will page down.
.CP8
Mouse Operation
.ix Mouse Operation
The mouse cursor will move around the screen as the mouse is moved,
but if no buttons are clicked or pressed, nothing else happens.
Clicking mouse buttons will have different effects depending upon
where the mouse cursor is on the screen. Dragging the mouse cursor
(pressing one or more buttons and moving the mouse at the same time)
affects the physical cursor position.
Top 2 Lines of the screen:
Left Button click - Open another window
Right Button click - Activate PullDown Menu
Both Buttons click - Activate Help Menu
Scroll Bar:
Arrows:
Press Left button to scroll up or down
Bar:
Click left button to page up (above elevator)
or page down (below elevator)
Text Body:
Left Button click - jump to position of mouse cursor
(will change windows if necessary)
Right Button - restore current line
Both buttons - press & drag to mark a block
marking stops when you release button
positions cursor at the end of the marked
block
Menu System:
Left Button click - select highlighted choice
Right Button click - escape to previous level
Both buttons click - Help (if available)
Left Button Drag - move highlight
if you change your mind, drag mouse to top line, and release button
.tc Help System ........................................#
Help
.IMHelp
.ix Help Menu
.ix Context Sensitive
The help system that comes with Word Fugue has 2 modes of operation -
Menu and Context Sensitive. Because of the way the keyboard
installation program functions, the help file always reflects the
current keyboard layout. The keyboard installation program regenerates
the help file from the WF.TXT file. This file contains special markers
for the keystrokes that are associated with commands, and when the
help file is generated, these markers are replaced with the names of
the installed keystrokes, and displayed as part of the help text. A
similar process also allows the display of the associated keystrokes
when using the pull down menu system.
When you have finished with the help screens, pressing ESC will return
you to what you were doing before.
.tc Menu Driven .....................................#
Menu Driven
.ix Help Menu
When you are at the edit window, pressing F1 will activate the Help
Menu System. You can select a topic by highlighting it and pressing
the enter key, or by pressing the highlighted letter that starts the
topic.
╔═════ Help Sections ══════╗
║ About Word Fugue ║
║ Blocks ║
║ Cursor movement ║
║ Files ║
║ Goto movement ║
║ Insert and delete ║
║ K - Function keys ║
║ Macros ║
║ Options and toggles ║
║ Printing ║
║ Q - Search and replace ║
║ Rulers & Tabs ║
║ Spell checking ║
║ Text commands ║
║ Utilities ║
║ Windows ║
╚══════════════════════════╝
Fig 10.2 - Help Menu
.tc1 Fig 10.2 - Help Menu ..................................#
Most topics have several pages of text are available, which can be
paged through by pressing the Page Up and Page Down keys.
When you have finished with the help screens, pressing ESC will return
you to what you were doing before.
.tc Context Sensitive ...............................#
Context Sensitive
.ix Context Sensitive
Context sensitive help is active when you are within the pulldown menu
system. Pressing F1 will present a help screen relevant to the
highlighted topic. If there is more information than will fit on the
screen, you can page through it by pressing the Page Down and Page Up
keys.
.cp12
.tc Shell to Dos .......................................#
Shell to Dos
.imDOS Shell
.ix Shell to DOS
.irShell to DOS;Shell To DOS - See DOS Shell
You can run other programs from Word Fugue, or gain access the the dos
prompt. This process is generally referred to as "Shelling to Dos".
Press Ctrl F10 to activate a prompt for a dos command. You can either
enter a command to run, or press Enter on a blank prompt for access to
the DOS prompt.
╔═════════════════ DOS command (<Enter> for shell) ═════════════╗
║dir ║
╚═══════════════════════════════════════════════════════════════╝
Fig 10.3 - Dos Shell Prompt
.tc1 Fig 10.3 - Dos Shell Prompt ...........................#
Run a Command
.ix Run DOS command
If you enter a command, that command will be run, and the message
"Press any key to continue ..." will be displayed, permitting you to
see any output of the command on the screen. Pressing any key will
return you to your document, with everything as it was before.
Dos Prompt
.ix DOS prompt
If you press Enter on a blank Dos prompt window, you will simply be
presented with the familiar DOS prompt. In this case, you will have to
type the command EXIT at the dos prompt in order to return to your
document.
In this case, Word Fugue changes the DOS prompt so that it lets you
know that Word Fugue is still loaded:
Approximate memory available: 170K
TYPE EXIT to return to program...
WordFugue... c:\wf\doc>
Fig 10.4 - Modified Dos Prompt
.tc1 Fig 10.4 - Modified Dos Prompt ........................#
How It Works
Word Fugue looks for the environment variable COMSPEC to determine
what your DOS command processor is called, and where to find it. If
you have not set the COMSPEC variable, you will not be able to use
this function. You should always have a command in your AUTOEXEC.BAT
file to set the COMSPEC variable whenever you boot your machine. If
you have not, then you should have this line in your AUTOEXEC.BAT
file:
SET COMSPEC=C:COMMAND.COM
.CP5
Consult your DOS manual for more information on the SET command and
the COMSPEC variable. The use of the COMSPEC variable is the standard
method of activating the DOS command processor, since if you have
replaced the standard COMMAND.COM with some other processor, the
replacement processor will be activated.
If an error occurred, you will be informed with an error window, and
will have to press ESC to return to your document. A typical error is
when COMMAND.COM cannot be found, or there is not enough memory to run
your request.
.tc Autosave ........................................#
Autosave
.ix Autosave and
If you have the AUTOSAVE toggle active, then all modified files will
be saved before attempting to invoke DOS. This makes he latest
versions of files available to any program you may run, and protects
you against crashing the machine while in DOS.
Conversely, if AUTOSAVE is off, no saving will be done.
.CP5
.tc Memory ..........................................#
Memory Available
.ix Memory Available
How effective your dos commands are often depends on the amount of
memory available for them. The default is only available memory which
is left after the program is loaded plus any files you may be editing.
On a machine with 640k this is normally more than adequate, but there
can be times when you need more memory to be made available.
The amount of memory available for DOS depends upon the setting of the
Invoke Dos option of the Global File Options of the Options menu. This
option has 2 values:
Available Memory
All Memory
Available Memory is the factory default. This refers to the amount
of memory left after you have loaded Word Fugue plus any files you
may be editing, plus any working space (eg for printing etc). The
amount that Word Fugue is not currently using is made available to
DOS.
All Memory is the alternative. In this case, Word Fugue swaps
memory it is using to disk to free up more memory for DOS, and then
reloads this memory later. A stub of approximately 8K remains in
memory, while the rest of the program and memory it is using is
swapped either to EMS memory (if you have some and sufficient is
available) or to the default disk drive and directory (if there is
sufficient room there). On disk, the swap file is called
nnnnnn.$WP, where nnnnnn is the current time of day, and is marked
as a system and hidden file. It will not be visible to normal DOS
commands. Do not delete this file after shelling to DOS, or you
will lock up your machine when you try to exit back to Word Fugue.
The use of the current time of day for the file name is to avoid
problems if you shell to DOS, load Word Fugue again, and shell to DOS.
They will use different swap files, and so won't crash your machine.
We cannot think of a good reason for why anyone would want to do this,
but we believe in Defensive Programming.
If you are running from floppies, this option may not have enough room
to create a swap file, and you may find it rather slow to come up with
the DOS prompt.
.CP7
When you swap memory, a message will be displayed to that effect:
360971 bytes are being swapped
Approximately 522K bytes of RAM available
WordFugue... c:\wf\doc>
Fig 10.5 - Swapping Display
.tc1 Fig 10.5 - Swapping Display ...........................#
.CP5
The actual amount of memory available will depend on how much memory
your machine has, and how much of it is taken up with memory resident
(TSR) programs.
.Tc Drawing Lines & Boxes ..............................#
Drawing Lines & Boxes
.irBox Drawing;Box Drawing - See Drawing Lines & Boxes
.irLine Drawing;Line Drawing - See Drawing Lines & Boxes
.imDrawing Lines & Boxes
.ix Characters
.ir See also Appendix F for a list of codes
Drawing lines and boxes utilises the IBM graphics characters provided
as part of the computer's character set. If you use code pages, you
should check that the code page you use supports these characters.
Those of you who use the default (American) code page, or who do not
use code pages, will find these characters are standard. For more
information on Code Pages, please refer to your DOS manual.
Single ┌ ┐ ─ │ └ ┘ ┬ ┤ ├ ┴ ┼
Double ╔ ╗ ═ ║ ╚ ╝ ╦ ╣ ╠ ╩ ╬
Mixed ╢ ╟ ╤ ╧ ╕ ╒ ╓ ╖ ╘ ╛╙ ╜ ╡ ╞ ╨ ╥ ╫ ╪
Fig 10.6 - Line Drawing Characters
.tc1 Fig 10.6 - Line Drawing Characters ....................#
.ix Display on screen
To display the line drawing characters on the screen, you need the
appropriate code page, as discussed above.
.ix Printing
To print the line drawing characters, you need a printer that supports
the line drawing characters. Some printers will need the appropriate
printer code page set up, while others will need the appropriate
control code sent before the characters will print. For example, many
Epson compatible printers will print italic characters instead of line
drawing characters. If this happens, you will need to consult your
printer manual for the appropriate control code to be sent, and
include this code as part of the initialisation sequence for your
printer. Consult chapter 16 for more information on this.
.CP5
.ix Entering line drawing characters
Entering Line Drawing Characters
There are two methods that you can use to enter line drawing
characters into your text -
■ Entering the codes on the numeric key pad
■ Using Macro files to select the characters
Using the numeric keypad requires that you know the numeric code for
the character. For example, to enter the character ╠, you need to know
that the code is 204. You then hold down the ALT key, and press the
digits 204 on the numeric key pad while you are pressing the ALT key.
When you release the ALT key the character will appear on the screen.
You can refer to the table in Appendix F for a list of characters and
the numeric codes.
Using the Macro Files is far easier. Two files are supplied -
SINGLE.MAC & DOUBLE.MAC containing character definitions for drawing
single lines and double lines respectively. They can be loaded into
the macro buffer by use of the Alt L command (load macro file), and
then replayed by use of the standard macro commands.
For example, ALT 0 (using the keys along the top of the key board) will
display a list of characters, and allow you to choose one to be
inserted into the text. Alt - (again using the keys along the top of
the keyboard) will allow you to enter the same character a number of
times - very useful for drawing lines. Please refer to the chapter on
Macros for more information about replaying macro characters.
.CP5
In addition, each line drawing macro file supplies a macro to draw a
single vertical line, and then move the cursor down one line and
position it under the character just inserted. This is activated by
ESC U for each of the 2 macro files.
To enter a single character, there is no need to explicitly load one
of the line drawing macro files. Instead, the standard macro file
(WF.MAC) provides 2 commands for inserting a single line drawing
character. These commands are
ESC K - display a pick list of single line drawing characters,
and insert one into the text
ESC L - display a pick list of double line drawing characters,
and insert one into the text
This process is accomplished by loading the appropriate line drawing
macro file to display the pick list, and then reloading the original
macro file. If you run from floppies or a slow hard disk, you may
notice some delay as files are loaded.
.ixTIPS; Box drawing
.ixTIPS; Drawing boxes
TIP - When you edit inside a box you have drawn, turn Insert off,
otherwise the characters you type will push the right side of
the box to the right on the line you are editing. Also be
careful when using the Backspace and Del keys. If you
erase a character that is inside the box, the right side of the
box will be sucked left on the line you are editing.